package com.test.kotlin05


class Player8(_name:String ){



    val playerName  = initPlayerName()



    private fun initPlayerName() = name


    val name:String   = _name

}

fun main() {
    val player = Player8("jack")
    println(player.playerName)
}